<input type="button" value="<?php echo $this->t->_('add new type'); ?>" onclick="parent.location='<?php echo $this->baseUrl(); ?>/admin/type/save'" />
<table class="overview">
<thead>
<tr>
	<th><?php echo $this->t->_('name'); ?></th>
	<th><?php echo $this->t->_('options'); ?></th>
</tr>
</thead>
<tbody>
<?php foreach($this->types as $type): ?>
<tr>
	<td><?php echo $type->name; ?></td>
	<td>
		<?php echo $this->option('edit', 'admin/type/save/id/' . $type->id); ?>
		<?php echo $this->option('delete', 'admin/type/delete/id/' . $type->id); ?>
	</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>